﻿using System.Windows;

namespace VideoTools.Commands
{
    public class RemoveWatermark2Commands : NotifyPropertyBase
    {
        private static volatile RemoveWatermark2Commands _instance;
        private static readonly object SyncRoot = new object();

        public static RemoveWatermark2Commands Instance
        {
            get
            {
                if (_instance == null)
                {
                    lock (SyncRoot)
                    {
                        if (_instance == null)
                        {
                            _instance = new RemoveWatermark2Commands();
                        }
                    }
                }

                return _instance;
            }
        }

        private RemoveWatermark2Commands()
        {
        }
        private double _Progress;

        public double Progress
        {
            get => _Progress;
            set => SetProperty(ref _Progress, value);
        }
        private TimeSpan _SpendTime;

        public TimeSpan SpendTime
        {
            get => _SpendTime;
            set => SetProperty(ref _SpendTime, value);
        }
        private Visibility _SpendTimeVisibility = Visibility.Hidden;

        public Visibility SpendTimeVisibility
        {
            get => _SpendTimeVisibility;
            set => SetProperty(ref _SpendTimeVisibility, value);
        }

        private Visibility _ProgressVisibility = Visibility.Hidden;

        public Visibility ProgressVisibility
        {
            get => _ProgressVisibility;
            set => SetProperty(ref _ProgressVisibility, value);
        }
    }
}
